﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using TaggerApp.Authentication;

namespace TaggerApp.Admin.Pages.LoanDeviceList
{
    public partial class Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            //User myUser = (User)Session["user"];
            //if (myUser == null)
            //{
            //    Response.Redirect("~/Pages/Login");
            //}
            //else if (!myUser.Role.Equals("Admin"))
            //{
            //    Response.Redirect("~/Pages/Unauthorized/Unauthorized.aspx");
            //}

            Global title = new Global();
            title.GetTitleFromDB();
            Page.Title = "Loaned Devices - " + title.appName;

        }
    }
}